base

Class: com.microstrategy.web.app.taglibs.BaseTag

Usage:

This tag allows users to include different resources like images, javascript and css style files in the HTML output of a JSP based on the resource type.
The location of these resources is configured through a series of initialization parameters pointing to all the different resource folders used by the application. These include:
  • resourcesFolderImage: The base location of the images to be used in the application
  • resourcesFolderJavaScript: The base location of the javascript files to be used in the application
  • resourcesFolderCustom: The base location of the customizations folders
  • resourcesFolderStyleFixedFont: The base location of the css files to be used in the application, when the size of the font to be presented to the user is fixed
  • resourcesFolderStyle: The base location of the css files to be used in the application
  • resourcesFolderStyleDB: The base location of the css files to be used in the application, when the environment is double byte
  • resourcesFolderStyleFixedFontDB: The base location of the css files to be used in the application, when the environment is double byte and the size of the font to be presented to the user is fixed
    Based on the type attribute, this custom-tab will identify the correct location and the HTML-tag that is required to include the file in the HTML output. For example:
     <web:resource type="javascript" name="DHTML.js"/>
     


    Name Required? Description
    type true Indicates the type of resource folder information it will search for in order to complete the path information for the file specified.
    Usage:
    The possible values for this attribute include:
  • helpfile: The information to obtain will correspond to the location of the help file to be shown to the user
  • image: The information to obtain will include the full resource path where the images are located. If the attribute value is not specified, it will default to obtain the image resource path.
  • javascript: The information to obtain will include the full resource path where the javascript files are located.
  • section: The information to obtain will correspond to the path and file name of the specified section on the PageComponent template.
  • style: The information to obtain will include the full resource path where the style files are located. Some extra logic is executed for determining which one of the possible four resource paths should be used, depending on the environment from the user is calling the request.
  • custom-style: The information to obtain will include the full resource path where custom style files are located.
  • custom-javascript: The information to obtain will include the full resource path where custom javascript files are located.